package com.jhhc.StormSurgeForecast.AstronomicalTide.Dao;

import com.jhhc.StormSurgeForecast.AstronomicalTide.Pojo.BDMS_FBC_RESULT_P;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BDMS_FBC_RESULT_PMapper {

    List<BDMS_FBC_RESULT_P> selecTBySchemeId(@Param("schemeId") String schemeId,
                                             @Param("stationCodes") List<String> stationCodes);

    List<BDMS_FBC_RESULT_P> selecCSCHEMEID(@Param("schemeId") String schemeId);
    int batchInsert(@Param("bdms_fbc_result_pList") List<BDMS_FBC_RESULT_P> bdms_fbc_result_pList);

    List<BDMS_FBC_RESULT_P> queyByCcschemeId(@Param("cschemeId") String cschemeId);


    BDMS_FBC_RESULT_P selecBySchemeId(@Param("schemeId") String schemeId,
                     @Param("stationCode") String stationCode,@Param("typeId") int typeId );

    //文件入库

    //修改数据
    int updateDtvaluesInt(@Param("dtvalues") String dtvalues,@Param("stcd") String stcd,@Param("schemeId") String schemeId);

    int deleteByCschemeId(@Param("cschemeId") String cschemeId);

    int update(BDMS_FBC_RESULT_P bdms_fbc_result_p);
    int insert(BDMS_FBC_RESULT_P bdms_fbc_result_p);

    int deleteById(@Param("calid") String calid,
                   @Param("stcd") String stcd,@Param("dttp") String dttp);
}

